python close file

41

with open(filename) as f:
  #use file

 #close file
f.close()
fileObject.close()

Comments

Submit
0 Comments